namespace rbac.contracts.Dto.Output;

/// <summary>
/// ???????
/// </summary>
public class PermissionDto
{
    /// <summary>
    /// ???ID
    /// </summary>
    public int PermissionId { get; set; }

    /// <summary>
    /// ???????
    /// </summary>
    public string PermissionName { get; set; } = null!;
    
    /// <summary>
    /// ?????
    /// </summary>
    public string? PermissionUrl { get; set; }

    /// <summary>
    /// ???????
    /// </summary>
    public List<PermissionDto>? Child { get; set; }
}